﻿// -----------------------------------------------------------------------
// <copyright file="State.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace Scanner
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class State
    {
        public State(string name)
        {
            this.name = name;
            this.isFinal = false;
            this.isError = false;
            this.isStart = false;
        }
        private string name;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        private bool isFinal;

        public bool IsFinal
        {
            get { return isFinal; }
            set { isFinal = value; }
        }


        private bool isStart;

        public bool IsStart
        {
            get { return isStart; }
            set { isStart = value; }
        }


        private bool isError;

        public bool IsError
        {
            get { return isError; }
            set { isError = value; }
        }


    }
}
